package org.lyq.erp.process.freighttemp.pojo;

import java.math.BigDecimal;
import java.util.List;
import org.lyq.erp.config.exception.errorbasics.ErrorMessageBasics;
import org.lyq.erp.process.freight.pojo.TblWxFreights;
import org.lyq.erp.utils.format.FormatUtils;

public class TblWxFreightTemplate extends ErrorMessageBasics {
	
	private Integer freightTempId;
	
	private String freightTempName;
	
	private String freightTempDesc;
	
	private Integer freightTempStatus;
	
	private Long freightTempCreatetime;
	
	private String freightTempCreatetimeView;
	
	private String[] addCodeNames;
	
	private String[] addCodes;
	
	private BigDecimal[] freightFirstPriorityAmts;
	
	private BigDecimal[] freightContinWeightAmts;
	
	private List<TblWxFreights> tblWxFreightList;

	public List<TblWxFreights> getTblWxFreightList() {
		return this.tblWxFreightList;
	}

	public void setTblWxFreightList(List<TblWxFreights> tblWxFreightList) {
		this.tblWxFreightList = tblWxFreightList;
	}

	public String[] getAddCodeNames() {
		return this.addCodeNames;
	}

	public void setAddCodeNames(String[] addCodeNames) {
		this.addCodeNames = addCodeNames;
	}

	public String[] getAddCodes() {
		return this.addCodes;
	}

	public void setAddCodes(String[] addCodes) {
		this.addCodes = addCodes;
	}

	public BigDecimal[] getFreightFirstPriorityAmts() {
		return this.freightFirstPriorityAmts;
	}

	public void setFreightFirstPriorityAmts(BigDecimal[] freightFirstPriorityAmts) {
		this.freightFirstPriorityAmts = freightFirstPriorityAmts;
	}

	public BigDecimal[] getFreightContinWeightAmts() {
		return this.freightContinWeightAmts;
	}

	public void setFreightContinWeightAmts(BigDecimal[] freightContinWeightAmts) {
		this.freightContinWeightAmts = freightContinWeightAmts;
	}

	public String getFreightTempCreatetimeView() {
		return this.freightTempCreatetimeView;
	}

	public void setFreightTempCreatetimeView(String freightTempCreatetimeView) {
		this.freightTempCreatetimeView = freightTempCreatetimeView;
	}

	public Integer getFreightTempId() {
		return this.freightTempId;
	}

	public void setFreightTempId(Integer freightTempId) {
		this.freightTempId = freightTempId;
	}

	public String getFreightTempName() {
		return this.freightTempName;
	}

	public void setFreightTempName(String freightTempName) {
		this.freightTempName = (freightTempName == null) ? null : freightTempName.trim();
	}

	public String getFreightTempDesc() {
		return this.freightTempDesc;
	}

	public void setFreightTempDesc(String freightTempDesc) {
		this.freightTempDesc = (freightTempDesc == null) ? null : freightTempDesc.trim();
	}

	public Integer getFreightTempStatus() {
		return this.freightTempStatus;
	}

	public void setFreightTempStatus(Integer freightTempStatus) {
		this.freightTempStatus = freightTempStatus;
	}

	public Long getFreightTempCreatetime() {
		return this.freightTempCreatetime;
	}

	public void setFreightTempCreatetime(Long freightTempCreatetime) {
		if (freightTempCreatetime != null) {
			this.freightTempCreatetimeView = FormatUtils.getFormatDateTime(freightTempCreatetime);
		}
		this.freightTempCreatetime = freightTempCreatetime;
	}
}
